package com.summer.framework.core.category;

import com.fasterxml.jackson.annotation.JacksonAnnotationsInside;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * Description:
 *
 * @auther Ice Yang
 * Date 2025/9/30 14:31
 */
@Target({ElementType.FIELD})
@Retention(RetentionPolicy.RUNTIME)
@JacksonAnnotationsInside
public @interface CategoryField {

    String type() default CategoryType.CATEGORY;

    String group();

    String target() default ""; // 指定目标字段名，如不指定则使用原字段名 + "Text"

}
